<div class="album_box">
	<?php include('block/header.php');?>
	<div class="user_water">
		<div class="water_post water_content">
			<div class="water_box">
				<div class="water_container water clearfix">
					<?php if($user&&$user['userid']==$user_info['userid']):?>
					<div class="grid share_list_add" style="width: 235px; left: 0px; top: 10px; position: absolute;">
						<div class="grid_add">
							<div class="grid_add_t upload_post">
								<span class="add">+</span>
								<span class=""><?php echo __("Upload")?></span>
							</div>
						</div>
					</div>
					<?php endif;?>
					<?php if(empty($total)):?>
					<?php if(!($user&&$user['userid']==$user_info['userid'])):?>
						<div class="p_empty">
							<p class="p_img"><img src="/media/images/empty.png" /></p>
							<p><?php echo __("No results here")?></p>
						</div>
					<?php endif;?>
					<?php else:?>	
					<?php echo Block_User::post_list($user_info,$posts);?>
					<?php endif;?>
				</div>
				<div  class="list_loading" url="<?php echo $url?>"  style="display: none;" page="1" pagecount="<?php echo $pages?>"><span></span>Loading...
				</div>
			</div>
		</div>
	</div>
</div>
